package cn.ppool.xmlmapper.router;

import cn.ppool.xmlmapper.ApplicationConfigure;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@Log4j2
@RestController
@RequestMapping("/xmlsql/")
public class MainRouter {

    @Autowired
    private ApplicationConfigure configure;

    @RequestMapping(value = "/",method = RequestMethod.GET)
    @ResponseBody
    public String root(){
        return "ok,run...";
    }




}
